#ifndef WORKERTHREAD_H
#define WORKERTHREAD_H

#include <QThread>
#include <QDebug>

//1) 继承QThread类
class WorkerThread:public QThread
{
public:
    WorkerThread();
    ~WorkerThread();
//2) 重写run函数
protected:
    void run (void);
};

#endif // WORKERTHREAD_H
